<template>
  <div>
    <div class="header">
      <div class="header-top-nav">
        <div class="container clearfix">
          <ul class="nav float-left nav-left">
            <li>
              <router-link to="/login">
                <a href="javascript:;">登录</a>
              </router-link>
            </li>
            <li><a href="#">免费注册</a></li>
            <li><a href="#">帮助中心</a></li>
          </ul>

          <ul class="nav float-right nav-right">
            <li><a href="#">关于叮当</a></li>
            <li><a href="#">叮当新闻</a></li>
            <li>
              <a href="#"><i class="el-icon-star-off"></i> 加入收藏</a>
            </li>
            <li>
              <a href="#"><i class="el-icon-phone-outline"></i> 4009007186</a>
            </li>
          </ul>
        </div>
      </div>

      <div class="header-nav">
        <div class="container clearfix">
          <router-link to="/" tag="span">
            <a href="#" class="logo float-left">
              <img src="@/assets/logo.png" />
            </a>
          </router-link>
          <img
            src="@/assets/logo-text.png"
            style="width: 100px; height: 42px; transform: translate(15px, 21px)"
          />

          <ul class="nav float-right">
            <li>
              <router-link to="/">
                <a class="active" href="#">首页</a>
              </router-link>
            </li>
            <li><a href="#">叮当商城</a></li>
            <li>
              <router-link to="/bidding_page">
                <a href="#">电子招标</a>
              </router-link>
            </li>
            <li><a href="#">金融中心</a></li>
            <li><a href="#">数据中心</a></li>
            <li><a href="#">数据仓储</a></li>

            <li class="service">
              <a href="#"><i class="el-icon-headset"></i> 在线客服</a>
            </li>
            <li class="mobile">
              <a href="#"><i class="el-icon-mobile"></i> 手机叮当</a>
            </li>
          </ul>
        </div>
      </div>
    </div>

    <div class="banner">
      <div class="container">
        <img src="@/assets/home/banner-text.png" alt="" />
        <p>
          叮当企业采购平台为企业提供互联网采购整体解决方案，帮助企业实现采购全流程数字化、可视化<br />
          打造大数据驱动的供应链协同网络，致力于成为大型企业建立阳光高效的互联网采购管理系统的首选平台
        </p>
        <button type="button">采购商合作</button>
      </div>
    </div>
    <div class="section"><img src="@/assets/home/h1.jpg" alt="" /></div>
    <div class="section"><img src="@/assets/home/h2.jpg" alt="" /></div>
    <div class="section"><img src="@/assets/home/h3.jpg" alt="" /></div>
    <div class="section"><img src="@/assets/home/h4.jpg" alt="" /></div>
    <div class="section"><img src="@/assets/home/h5.png" alt="" /></div>
    <div class="section"><img src="@/assets/home/footer.jpg" alt="" /></div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
@import "./home.scss";

.banner {
  width: 100%;
  height: 600px;
  background: url(../../assets/home/banner.jpg) no-repeat center;
  background-size: cover;

  .container {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 80px;
    > img {
      max-width: 500px;
      margin-bottom: 20px;
    }
    > p {
      color: #999999;
      line-height: 30px;
      margin-bottom: 20px;
    }
    > button {
      border: 1px solid #fff;
      background-color: transparent;
      padding: 10px 30px;
      color: #fff;
      width: 150px;
      border-radius: 30px;
      cursor: pointer;
      &:hover {
        background-color: #181e2a;
      }
    }
  }
}

.section {
  img {
    max-width: 100%;
    display: block;
  }
}
</style>